package com.letv.android.client.episode.request;

import com.letv.core.bean.DataHull;
import com.letv.core.bean.LetvBaseBean;
import com.letv.core.network.volley.VolleyRequest;
import com.letv.core.network.volley.VolleyResponse.CacheResponseState;
import com.letv.core.network.volley.VolleyResponse.NetworkResponseState;

public interface ICommonRequestCallback {

	void onNetworkResponse(VolleyRequest<? extends LetvBaseBean> request, LetvBaseBean result,
						   DataHull hull, NetworkResponseState state);

	void onCacheResponse(VolleyRequest<? extends LetvBaseBean> request, LetvBaseBean result,
						 DataHull hull, CacheResponseState state);

	void onErrorReport(VolleyRequest<? extends LetvBaseBean> request, String errorInfo);
}
